@import "../../assets/styles/theme.module.scss";
.dashboard_btn {
  border: none;
  background: $main_light;
  border-radius: 5px;
  color: #fff;
  outline: none;
  cursor: pointer;
  font-size: $font_normal;
  padding: 0.7rem 1.3rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  justify-content: center;
  min-width: 8rem;
  max-width: 100%;
  font-size: 0.875rem;
  span {
    margin: 0 0.5rem;
  }
  &.show_linear {
    background-color: #fff;
    background-image: linear-gradient(240deg, $main_dark 15%, $main_light 60%);
    &.disable {
      background-image: linear-gradient(
        240deg,
        rgba($main_dark, 0.3) 15%,
        rgba($main_light, 0.3) 60%
      );

      pointer-events: none;
    }
  }
  &.disable {
    background-color: rgba($color: $main_light, $alpha: 0.6);
    pointer-events: none;
  }
  &.show_shadow {
    box-shadow: rgba($color: black, $alpha: 0.6) 0px 5px 5px 0px;
  }
}

.dashboard_image_show {
  height: 100%;
  img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
  }
}
.dashboadr_file_up_load_button {
  display: inline-flex;
  cursor: pointer;
  vertical-align: middle;
  appearance: none;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  min-width: 64px;
  padding: 6px 16px;
  border-radius: 4px;
  color: rgb(255, 255, 255);
  background-color: $main_light;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px,
    rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
  .dashboard_file_up_load_label {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }
  .dashboard_svg {
    margin-right: 0.5rem;
  }
}

input[type="file"] {
  height: 1px;
  width: 1px;
  position: absolute;
  z-index: 100;
}
